<ion-view>
    <ion-pane>

        <ion-header-bar class="index_head">
            <button class="button button-icon icon ion-android-arrow-back"  ng-click="$ionicGoBack()" style="color: #fff"></button>
            <div class="h1 title">产品分享次数</div>
            <div class="head_menu_icon" ng-click="toggleRightSideMenu()">
                {{name}}
                <img src="img/icon/mechicon/menu_icon.png" alt="">
            </div>
        </ion-header-bar>

        <ul class="dataHome_list clear">
            <li  ng-click="dataTab('1','-7')" ng-class="n==1?'actives':''">
                最近七天
            </li>
            <li ng-click="dataTab('2','-30')" ng-class="n==2?'actives':''">
                最近一月
            </li>
            <li ng-click="dataTab('3','-180')" ng-class="n==3?'actives':''">
                最近半年
            </li>
            <li ng-click="dataTab('4','-360')" ng-class="n==4?'actives':''">
                最近一年
            </li>
            <li ng-click="dataTab('5','')" ng-class="n==5?'actives':''">
                全部
            </li>
        </ul>
        <ion-content class="dataHome_con_wrap">
            <div class="data_product_conwrap">
                <h3 class="data_product_tit">
                    {{productName}}
                </h3>
                <div class='data_product_con'>
                    <div class="row data_product_head">
                        <span class="col">理财顾问</span>
                        <span class="col">分享次数</span>

                    </div>
                    <ul class="data_product_list" ng-if="list.length>0">
                        <li class="row" ng-repeat="x in list">
                            <span class="col">
                                {{x.userName}}
                            </span>
                            <span class="col">
                                {{x.count}}
                            </span>
                        </li>
                    </ul>
                </div>
            </div>

        </ion-content>

    </ion-pane>
</ion-view>